package top.vanchor.myblog2back.service;

import com.github.pagehelper.PageInfo;
import top.vanchor.myblog2back.entity.BackAuthGroup;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.management.relation.Relation;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ding
 * @since 2022-01-27
 */
public interface IBackAuthGroupService extends IService<BackAuthGroup> {

    List<BackAuthGroup> getRoles();

    int getSuperAdminNum();

    BackAuthGroup getGroupById(Integer aGroupId);

    PageInfo<BackAuthGroup> getList(Integer pageNo, Integer pageSize, String title);

    int getByTitle(String title);

    int doEdit(BackAuthGroup bean);

    int doDeleteBy(List<Integer> ids);

}
